09. var quiz = true;

var quiz = true;

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

See the value with the square brackets ([false]) and the other with curly braces ({"state": false})? [false] is an array and {"state": false} is an object. We'll be covering arrays in the next video and objects just after that. Don't worry, you can answer this question without knowing exactly what an array or object is.

The last value, [false], is an array with one element, which is false.
{"state": false} is an object with one property called "state", which has a value of false.

Follow your instructors!

@cwpittman

+jameswilliams